package agency_terminal.data_types;

import java.util.Date;

public class DataTicketRequest extends Data {

	private static final long serialVersionUID = 1L;
	private Integer id; //esto solo en caso de cancelacion no? pues sino el id lo genera la imm y viene a la vuelta
	private String carRegistration;
	private Date dateInit;
	private Integer duration;
			
	public DataTicketRequest(String carRegistration, Date dateInit,
			Integer duration) {
		super();
		this.carRegistration = carRegistration;
		this.dateInit = dateInit;
		this.duration = duration;		
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getCarRegistration() {
		return carRegistration;
	}
	public void setCarRegistration(String carRegistration) {
		this.carRegistration = carRegistration;
	}
	public Date getDateInitt() {
		return dateInit;
	}
	public void setDateInit(Date dateInit) {
		this.dateInit = dateInit;
	}
	public Integer getDuration() {
		return duration;
	}
	public void setDuration(Integer duration) {
		this.duration = duration;
	}

	public Date getDateInit() {
		return dateInit;
	}
	
	
	
	
}
